<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>navbar</title>
    <style>
        .nav {
            display: flex;
            justify-content: space-between;
            align-items: center;

            padding: 0 20px;
            height: 60px;
            background-color: #fff;
            box-shadow:  0 2px 4px #eee;
        }

        .links {
            display: flex;
            gap: 20px;
        }

    </style>
</head>
<body>
    <nav class="nav">
        <div class="logo">logo</div>
        <div class="links">
            <a href="#">首页</a>
            <a href="#">产品</a>
            <a href="#">关于</a>
        </div>
        <div class="btn">
            登录
        </div>
    </nav>
    
</body>
</html>